package com.xzj.admin.flow.domain.entity;

import com.xzj.admin.flow.domain.vo.edge.FlowEdgeLinkVo;
import com.xzj.common.core.domain.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @program: xzj-admin
 * @ClassName: FlowNodeEdge
 * @description: 流程节点连线;
 * @author: XiaZunJun
 * @create: 2024-9-27
 */
@Schema(name = "流程节点连线", description = "")
@Data
@EqualsAndHashCode(callSuper = true)
public class FlowNodeEdge extends BaseEntity implements Serializable {
    /**
     * 连线Id
     */
    @Schema(name = "连线Id", description = "")
    private String id;


    /**
     * 连线类型
     */
    @Schema(name = "连线类型", description = "")
    private String shape;


    private FlowEdgeLinkVo source;

    private FlowEdgeLinkVo target;


    /**
     * 顺序
     */
    @Schema(name = "顺序", description = "")
    private Integer zIndex;


    /**
     * 流程Id
     */
    @Schema(name = "流程Id", description = "")
    private String flowId;

}